repo.or.cz
/
andmenj-acm.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Adding ICPC Live Archive
[andmenj-acm.git]
/
ICPC Live Archive
/
3927 - Ambiguous Codes
/
ambiguous.sol
blob
284a76b4c9594d7340396822870f49302c5f4849
1
5
2
50
3
-1
4
3
5
3
6
4
7
3
8
4
9
7
10
7
11
10
12
10
13
3
14
3
15
255
16
220
17
203
18
239
19
220
20
205
21
48
22
186
23
208
24
230
25
108
26
27
27
103
28
100
29
101
30
110
31
105
32
106
33
106
34
103
35
43
36
160
37
46
38
184
39
132
40
580
41
1692
42
390
43
50
44
100
45
-1
46
2414
47
-1
48
2598
49
-1
50
2706
51
-1
52
2622
53
-1
54
2294
55
-1
56
2617
57
-1
58
2183
59
-1
60
2241
61
-1
62
2307
63
-1
64
2446
65
-1
66
1589
67
-1
68
1098
69
-1
70
1089
71
-1
72
1272
73
-1
74
1134
75
-1
76
650
77
-1
78
519
79
-1
80
711
81
-1
82
570
83
-1
84
586
85
-1
86
329
87
-1
88
303
89
-1
90
378
91
-1
92
513
93
-1
94
376
95
4
96
2
97
-1
98
5
99
-1
100
-1
101
22
102
103
103
48
104
3
105
-1
106
-1
107
-1